package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_child_adult_reward", desc = "子嗣成年奖励", autoSave = true, uploadCk = true)
public class LogChildAdultReward extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "徒弟uid")
    private String childUid;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;

    public LogChildAdultReward(long userId, String childUid, String reward) {
        this.userId = userId;
        this.childUid = childUid;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }
}
